/**
 * 
 */
package com.precisosoft.mathematize.server.guice;


import com.gwtplatform.dispatch.server.guice.HandlerModule;
import com.precisosoft.mathematize.server.handler.LoginHandler;
import com.precisosoft.mathematize.shared.action.LoginAction;

/**
 * @author jewettdx
 *
 */
public class ServerModule extends HandlerModule {

	  @Override
	  protected void configureHandlers() {

	    // Bind Action to Action Handler
	    bindHandler(LoginAction.class, LoginHandler.class);

	    // Bind Action to Action Handler and Action Validator
	    // bindHandler(RetrieveAccountsAction.class, RetrieveAccountsHandler.class);
//	    bindHandler(RetrieveAccountsAction.class, RetrieveAccountsHandler.class, LoggedInActionValidator.class);
	    

	    // bind(Log.class).toProvider(LogProvider.class).in(Singleton.class);
	  }

}
